<?php
class desktop extends control {
	
	public function index(){
		//echo 'hello world';
		$this->loadView('public/header');
		if($this->user_id) {
			$this->loadView('desktop/desktop');
		} else {
			$this->loadView('login/login');
		}
		$this->loadView('public/footer');
	}
	
	
}
?>